<template>
  <li>
    {{title}}
    <button v-on:click="$emit('remove')">删除</button>
  </li>
</template>

<script>
export default {
  name: "TodoListItem",
  props: ["title"]
};
</script>